{include file="index/header" /}
<div class="container xs-top-15" style="max-width:960px">
    <div class="columns">
        <!--区域1-->
        <div class="column is-two-thirds">
            <!--模块1-->
            {include file="index/search_module" /}
            <hr class="xs-hr">
            <!--模块2-->
            <div class="card">
                <div class="tabs" style="margin-bottom:0px;">
                    <ul>
                        <li class="is-active"><a>题库分类</a></li>
                    </ul>
                </div>
                <div class="xs-card-content-15">
                    <div class="content">
                        <div class="field is-grouped">
                            <div class="field is-grouped is-grouped-multiline" style="margin-left:20px;">
                                {foreach $sort_list as $key=>$vo }
                                <p class="control">
                                    <a class="button is-link is-outlined is-small"
                                        href="{:url('index/index/cate',['type'=>$vo.alias])}">
                                        {$vo.name}
                                    </a>
                                </p>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {eq name="$adver[1]['state']" value="1"}
            <hr class="xs-hr">
            <div class="card">
                <div class="xs-card-content">
                    <div class="content">
                        <a href="{$adver[2]['url']}" target="_blank"><img src="{$adver[2]['img_url']}" alt=""></a>
                    </div>
                </div>
            </div>
            {/eq}
        </div>
        <!--区域2-->
        <div class="column">

            <!--模块2-->
            <div class="card">
                <header class="card-header">
                    <p class="card-header-title">
                        相关推荐
                    </p>
                    <a href="#" class="card-header-icon" aria-label="more options">
                        <span class="icon">
                            <i class="fas fa-angle-down" aria-hidden="true"></i>
                        </span>
                    </a>
                </header>
                {eq name="$adver[1]['state']" value="1"}
                <div class="card">
                    <div class="xs-card-content">
                        <div class="content">
                            <a href="{$adver[1]['url']}" target="_blank"><img src="{$adver[1]['img_url']}" alt=""></a>
                        </div>
                    </div>
                </div>
                {/eq}
            </div>
        </div>
    </div>
</div>
{include file="index/footer" /}